package com.byxy.po;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Table(name = "CategoryAndBlog")
@Data
public class CategoryAndBlog{
    @Column(name = "id", type = MySqlTypeConstant.INT, length = 15, isKey = true, isAutoIncrement = true)
    private Integer id;
    @Column(name = "blog_id", type = MySqlTypeConstant.INT, length = 15)
    private Integer blogId;
    @Column(name = "category_id", type = MySqlTypeConstant.INT, length = 15)
    private Integer categoryId;
    @Column(name = "bc_time", type = MySqlTypeConstant.DATETIME)
    private Date bcTime;// 发表时间
}
